<template>
	<div id="app">

		<a-config-provider :locale="locale"><router-view class="root"/></a-config-provider>
	</div>
</template>

<script>
import zhCN from 'ant-design-vue/lib/locale-provider/zh_CN';

export default {
	name: 'app',

	data() {
		return {
			locale: zhCN,
		};
	},
	methods:{
	ieCheck(){
		//初始化浏览器信息
		const b = this.$exMod.isIE();
		this.$store.commit("setIsIe",b);

	}
	},

	mounted() {
		this.ieCheck();
	}


};
</script>

<style lang="less">
	.ant-table-body,
	.ant-table-header {
		word-break: break-all;
	&::-webkit-scrollbar {
		 width: 6px; /*高宽分别对应横竖滚动条的尺寸*/
		 height: 6px;
	 }
	&::-webkit-scrollbar-thumb {
		 border-radius: 6px;
	 // -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
		 background: rgba(144, 147, 153, 0.5);
	 }
	&::-webkit-scrollbar-track {
	 // -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
		 border-radius: 5px;
		 background: transparent;
	 }
	}

</style>
